package com.scau.classOnline.utils.time;

/**
 * Create by ji on 2019-07-10
 */
public enum TimePattern {
    DAY("yyyy-MM-dd"),
    SECOND("yyyy-MM-dd HH:mm:ss")
    ;
    private String pattern;

    TimePattern(String pattern) {
        this.pattern = pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public String getPattern() {
        return pattern;
    }
}
